package com.suning.app.snpaasadmin.operation;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.suning.app.snpaasadmin.dao.CfSdkMapper;
import com.suning.app.snpaasadmin.pojo.CfSdk;
import com.suning.app.snpaasadmin.pojo.CfSdkExample;

public class CfSdkDBOperation {
	public List<CfSdk> getSdkList() {
		SqlSession sqlSession = FactoryBase.getSession().openSession();
		CfSdkMapper sdkMapper = sqlSession.getMapper(CfSdkMapper.class);
		
		CfSdkExample sdkEx = new CfSdkExample();
		sdkEx.createCriteria();
		List<CfSdk> sdkList = sdkMapper.selectByExample(sdkEx);
		sqlSession.close();
		
		return sdkList;
	}

}
